package com.tomcov.client.view;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class MyJourneyViewImpl extends Composite implements MyJourneyView{

	@SuppressWarnings("unused")
	private Presenter presenter;
	private static final MyUiBinder binder = GWT.create(MyUiBinder.class);
	interface MyUiBinder extends UiBinder<FlowPanel, MyJourneyViewImpl> {
	}
	@UiField VerticalPanel cellcontainerdriver,cellcontainerpassenger,cellcontainerpassengerlooking,imagecontainer,
							directionsPanel;
	
	public MyJourneyViewImpl(){
		initWidget(binder.createAndBindUi(this));
	}
	
	@Override
	public void setPresenter(Presenter presenter) {
		this.presenter=presenter;
		
	}
	public VerticalPanel getDirPanel(){
		return directionsPanel;
	}
	public VerticalPanel getCellPassengerLooking(){
		return cellcontainerpassengerlooking;
	}
	
	public VerticalPanel getImageContainer(){
		return imagecontainer;
	}
	
	public VerticalPanel getCellDriver(){
		return cellcontainerdriver;
	}
	
	public VerticalPanel getCellpassenger(){
		return cellcontainerpassenger;
	}

}
